﻿<!-- 继承公共文件 -->
<extend name="./Application/Admin/view/layout.html" />



      <block name="mid">
   
<div class="panel panel-danger">

                        <div class="panel-heading">
                           添加导航
                        </div>
                        <div class="panel-body">
                            <form role="form" action="" method="post" enctype="multipar/form-data">
                                         

                                 <div class="form-group">
                                            <label>导航层级 ：</label>
                                            <select name="pid">
                                            <option value="0">导航顶级</option>
                                            <foreach name="list" item="v">
                                            <option value="{$v.id}">{$v.name}</option>
                                            </foreach>
                                         
                                            </select>
                                        </div>
                                 <div class="form-group">
                                            <label>导航名称</label>
                                            <input type="text" class="form-control" name="name">
                                    
                                        </div>
                                            <div class="form-group">
                                            <label>链接地址</label>
                                            <input type="text" name="url" class="form-control">
                                    
                                        </div>
                                  <div class="form-group">
                                            <label>位置 ：</label>
                                            <select name="point">
                                            <option value="0">请选择位置</option>
                                            <option value="1">头部</option>
                                            <option value="2">中间</option>
                                            <option value="3">底部</option>
                                            <option value="">无</option>

                                            </select>
                                        </div>
                                 <div class="form-group">
                                             <label>显示 ：</label>
                                            <input type="radio" name="is_show" value="1"> 是

                                             <input type="radio" name="is_show" value="0"> 否
                                            
                                            
                                        </div>
                                 <div class="form-group">
                                            <label>模块 ：</label>
                                            <select name="is_home">
                                            <option value="0">选择导航模块</option>
                                            <option value="1">前台</option>
                                            <option value="2">后台</option>
                                         
                                            </select>
                                        </div>
                                 <div class="form-group">
                                            <label>图标：</label>
                                            <input type="text" class="form-control icon" name="icon">
                                    
                                        </div>
                                 
                                 
                                        <button class="btn btn-info" type="submit">确定 </button>

                                    </form>
                            </div>
                        </div>


<h2 class="page-header">图标选择</h2>

  <div class="text-center">
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-adn']);" class="btn btn-social-icon btn-adn"><i class="fa fa-adn">btn-adn</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-bitbucket']);" class="btn btn-social-icon btn-bitbucket"><i class="fa fa-bitbucket">btn-bitbucket</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-dropbox']);" class="btn btn-social-icon btn-dropbox"><i class="fa fa-dropbox">btn-dropbox</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-facebook']);" class="btn btn-social-icon btn-facebook"><i class="fa fa-facebook">btn-facebook</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-flickr']);" class="btn btn-social-icon btn-flickr"><i class="fa fa-flickr">btn-flickr</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-foursquare']);" class="btn btn-social-icon btn-foursquare"><i class="fa fa-foursquare">btn-foursquare</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-github']);" class="btn btn-social-icon btn-github"><i class="fa fa-github">btn-github</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-google-plus']);" class="btn btn-social-icon btn-google-plus"><i class="fa fa-google-plus">btn-google-plus</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-instagram']);" class="btn btn-social-icon btn-instagram"><i class="fa fa-instagram">btn-instagram</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-linkedin']);" class="btn btn-social-icon btn-linkedin"><i class="fa fa-linkedin">btn-linkedin</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-microsoft']);" class="btn btn-social-icon btn-microsoft"><i class="fa fa-windows">btn-microsoft</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-openid']);" class="btn btn-social-icon btn-openid"><i class="fa fa-openid">btn-openid</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-pinterest']);" class="btn btn-social-icon btn-pinterest"><i class="fa fa-pinterest">btn-pinterest</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-reddit']);" class="btn btn-social-icon btn-reddit"><i class="fa fa-reddit">btn-reddit</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-soundcloud']);" class="btn btn-social-icon btn-soundcloud"><i class="fa fa-soundcloud">btn-soundcloud</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-tumblr']);" class="btn btn-social-icon btn-tumblr"><i class="fa fa-tumblr">btn-tumblr</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-twitter']);" class="btn btn-social-icon btn-twitter"><i class="fa fa-twitter">btn-twitter</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-vimeo']);" class="btn btn-social-icon btn-vimeo"><i class="fa fa-vimeo-square">btn-vimeo</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-vk']);" class="btn btn-social-icon btn-vk"><i class="fa fa-vk">btn-vk</i></a>
            <a onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-yahoo']);" class="btn btn-social-icon btn-yahoo"><i class="fa fa-yahoo">btn-yahoo</i></a>
          </div>





      </block>

<block name="js">


<script type="text/javascript" src="__ADMIN__assets/js/jquery-3.0.0.min.js"></script>
<script type="text/javascript">
$(function(){

     

    $('.text-center i').click(function(){
      var icon = $(this).text();
      $('.icon').val(icon);

    })



})



</script>

</block>













